package com.it.you.lang3;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Lang implements Serializable {

    private Integer id;

    private String name;

    public List<String> getBobbies() {
        return bobbies;
    }

    public void setBobbies(List<String> bobbies) {
        this.bobbies = bobbies;
    }

    private List<String> bobbies = new ArrayList<>();

    public Lang() {
    }

    public Lang(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Lang{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
